﻿<!DOCTYPE HTML>
<html>
<head>
	<meta charset="utf-8">
	<meta name="renderer" content="webkit|ie-comp|ie-stand">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
	<meta http-equiv="Cache-Control" content="no-siteapp" />
	<link rel="Bookmark" href="/favicon.ico" >
	<link rel="Shortcut Icon" href="/favicon.ico" />
	<!--[if lt IE 9]>
	<script type="text/javascript" src="__STATIC__/admin/lib/html5shiv.js"></script>
	<script type="text/javascript" src="__STATIC__/admin/lib/respond.min.js"></script>
	<![endif]-->
	<link rel="stylesheet" type="text/css" href="__STATIC__/admin/static/h-ui/css/H-ui.min.css" />
	<link rel="stylesheet" type="text/css" href="__STATIC__/admin/static/h-ui.admin/css/H-ui.admin.css" />
	<link rel="stylesheet" type="text/css" href="__STATIC__/admin/lib/Hui-iconfont/1.0.8/iconfont.css" />
	<link rel="stylesheet" type="text/css" href="__STATIC__/admin/static/h-ui.admin/skin/default/skin.css" id="skin" />
	<link rel="stylesheet" type="text/css" href="__STATIC__/admin/static/h-ui.admin/css/style.css" />
	<!--[if IE 6]>
	<script type="text/javascript" src="__STATIC__/admin/lib/DD_belatedPNG_0.0.8a-min.js" ></script>
	<script>DD_belatedPNG.fix('*');</script>
	<![endif]-->
<title>我的桌面</title>
</head>
<body>
<div class="page-container">
	<p class="f-20 text-success">欢迎使用{$Think.session.setup.title} <span class="f-14"></span>后台！</p>
	<p>登录次数：{$count}</p>
	{volist name="list" id="vo" offset="0" length='1'}
	<p>本次登录IP：{$vo.log_value.ip}  本次登录时间：{:date('Y-m-d H:i',$vo.log_value.time)}</p>
	{/volist}
	<table class="table table-border table-bordered table-bg">
		<thead>
			<tr>
				<th colspan="7" scope="col">登录日志</th>
			</tr>
			<tr class="text-c">
				<th width="100">用户名</th>
				<th width="100">登录时间</th>
				<th width="100">IP地址</th>
				<th width="100">系统/浏览器</th>
			</tr>
		</thead>
		<tbody>
		{volist name="$list" id="vo"}
			<tr class="text-c">
				<td>{$vo.username}</td>
				<td>{:date('Y-m-d H:i',$vo.log_value.time)}</td>
				<td>{$vo.log_value.ip}</td>
				<td>{$vo.log_value.os}/{$vo.log_value.broswer}</td>
			</tr>
		{/volist}
		</tbody>
	</table>
	<table class="table table-border table-bordered table-bg mt-20">
		<thead>
			<tr>
				<th colspan="2" scope="col">服务器信息</th>
			</tr>
		</thead>
		<tbody>
			<tr>
				<td>服务器域名</td>
				<td>{$_SERVER["HTTP_HOST"]}</td>
			</tr>
			<tr>
				<td>服务器端口 </td>
				<td>{$_SERVER['SERVER_PORT']}</td>
			</tr>
			<tr>
				<td>服务器操作系统 </td>
				<td>{:php_uname()}</td>
			</tr>
			<tr>
				<td>PHP版本 </td>
				<td>{:PHP_VERSION}</td>
			</tr>
			<tr>
				<td>服务器当前时间 </td>
				<td>{:date("Y-m-d H:i:s")}</td>
			</tr>
			<tr>
				<td>PHP运行方式 </td>
				<td>{:php_sapi_name()}</td>
			</tr>
		</tbody>
	</table>
</div>
<footer class="footer mt-20">
	<div class="container">
		<p>感谢jQuery、layer、laypage、Validform、UEditor、My97DatePicker、iconfont、Datatables、WebUploaded、icheck、highcharts、bootstrap-Switch<br>
			Copyright &copy;2015-2017 H-ui.admin v3.1 All Rights Reserved.<br>
			本后台系统由<a href="http://www.h-ui.net/" target="_blank" title="H-ui前端框架">H-ui前端框架</a>提供前端技术支持</p>
	</div>
</footer>
<script type="text/javascript" src="lib/jquery/1.9.1/jquery.min.js"></script> 
<script type="text/javascript" src="static/h-ui/js/H-ui.min.js"></script> 

</body>
</html>